package com.sfchen.cloud.mapper;

import com.sfchen.cloud.domain.Car;
import com.sfchen.cloud.dto.CarDto;
import org.mapstruct.Mapper;
import org.mapstruct.MappingConstants;

@Mapper(componentModel = MappingConstants.ComponentModel.SPRING)
public interface CarMapper {

    CarDto catToDto(Car car);
}
